home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / pac-adventure.swf / scripts / Fmd5.as < prev    next >
Text File  |  2011-10-17  |  22KB  |  341 lines

  1. var ┬º\x01┬º = 210;
  2. while(true)
  3. {
  4.    if(eval("\x01") != 210)
  5.    {
  6.       if(eval("\x01") != 930)
  7.       {
  8.          if(eval("\x01") != 248)
  9.          {
  10.             if(eval("\x01") != 580)
  11.             {
  12.                if(eval("\x01") != 809)
  13.                {
  14.                   if(eval("\x01") == 495)
  15.                   {
  16.                      set("\x01",eval("\x01") + 67);
  17.                      break;
  18.                   }
  19.                   if(eval("\x01") == 268)
  20.                   {
  21.                      set("\x01",eval("\x01") + 35);
  22.                      ┬º┬ºpush("\x0f");
  23.                      continue;
  24.                   }
  25.                   if(eval("\x01") != 562)
  26.                   {
  27.                      if(eval("\x01") != 414)
  28.                      {
  29.                         if(eval("\x01") != 144)
  30.                         {
  31.                            if(eval("\x01") != 807)
  32.                            {
  33.                               if(eval("\x01") == 776)
  34.                               {
  35.                                  set("\x01",eval("\x01") + 31);
  36.                                  break;
  37.                               }
  38.                               if(eval("\x01") == 645)
  39.                               {
  40.                                  set("\x01",eval("\x01") - 65);
  41.                                  ┬º┬ºpush("\x0f");
  42.                                  ┬º┬ºpush(1);
  43.                                  continue;
  44.                               }
  45.                               if(eval("\x01") == 303)
  46.                               {
  47.                                  set("\x01",eval("\x01") + 52);
  48.                                  ┬º┬ºpush(eval(┬º┬ºpop()));
  49.                                  continue;
  50.                               }
  51.                               if(eval("\x01") == 600)
  52.                               {
  53.                                  set("\x01",eval("\x01") - 225);
  54.                                  continue;
  55.                                  continue;
  56.                               }
  57.                               if(eval("\x01") != 355)
  58.                               {
  59.                                  if(eval("\x01") != 762)
  60.                                  {
  61.                                     if(eval("\x01") == 375)
  62.                                     {
  63.                                        set("\x01",eval("\x01") - 71);
  64.                                        Fmd5Class.prototype = new MovieClip();
  65.                                        Fmd5Class.prototype.rol = function(a, n)
  66.                                        {
  67.                                           return a << n | a >>> 32 - n;
  68.                                        };
  69.                                        Fmd5Class.prototype.FF = function(a, b, c, d, x, s, ac)
  70.                                        {
  71.                                           return this.rol(a + (b & c | (~b) & d) + x + ac,s) + b;
  72.                                        };
  73.                                        Fmd5Class.prototype.GG = function(a, b, c, d, x, s, ac)
  74.                                        {
  75.                                           return this.rol(a + (b & d | c & (~d)) + x + ac,s) + b;
  76.                                        };
  77.                                        Fmd5Class.prototype.HH = function(a, b, c, d, x, s, ac)
  78.                                        {
  79.                                           return this.rol(a + (b ^ c ^ d) + x + ac,s) + b;
  80.                                        };
  81.                                        Fmd5Class.prototype.II = function(a, b, c, d, x, s, ac)
  82.                                        {
  83.                                           return this.rol(a + (c ^ (b | ~d)) + x + ac,s) + b;
  84.                                        };
  85.                                        Fmd5Class.prototype.transformMD5 = function(buf, offset)
  86.                                        {
  87.                                           var _loc6_ = undefined;
  88.                                           var _loc5_ = undefined;
  89.                                           var _loc4_ = undefined;
  90.                                           var _loc3_ = undefined;
  91.                                           var _loc2_ = this.transformBuffer;
  92.                                           _loc6_ = this.state[0];
  93.                                           _loc5_ = this.state[1];
  94.                                           _loc4_ = this.state[2];
  95.                                           _loc3_ = this.state[3];
  96.                                           i = 0;
  97.                                           while(i < 16)
  98.                                           {
  99.                                              _loc2_[i] = buf[i * 4 + offset] & 255;
  100.                                              j = 1;
  101.                                              while(j < 4)
  102.                                              {
  103.                                                 _loc2_[i] |= (buf[i * 4 + j + offset] & 255) << j * 8;
  104.                                                 j++;
  105.                                              }
  106.                                              i++;
  107.                                           }
  108.                                           _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],7,3614090360);
  109.                                           _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[1],12,3905402710);
  110.                                           _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],17,606105819);
  111.                                           _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[3],22,3250441966);
  112.                                           _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],7,4118548399);
  113.                                           _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[5],12,1200080426);
  114.                                           _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],17,2821735955);
  115.                                           _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[7],22,4249261313);
  116.                                           _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],7,1770035416);
  117.                                           _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[9],12,2336552879);
  118.                                           _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],17,4294925233);
  119.                                           _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[11],22,2304563134);
  120.                                           _loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],7,1804603682);
  121.                                           _loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[13],12,4254626195);
  122.                                           _loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],17,2792965006);
  123.                                           _loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[15],22,1236535329);
  124.                                           _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],5,4129170786);
  125.                                           _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[6],9,3225465664);
  126.                                           _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],14,643717713);
  127.                                           _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[0],20,3921069994);
  128.                                           _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],5,3593408605);
  129.                                           _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[10],9,38016083);
  130.                                           _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],14,3634488961);
  131.                                           _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[4],20,3889429448);
  132.                                           _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],5,568446438);
  133.                                           _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[14],9,3275163606);
  134.                                           _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],14,4107603335);
  135.                                           _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[8],20,1163531501);
  136.                                           _loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],5,2850285829);
  137.                                           _loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[2],9,4243563512);
  138.                                           _loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],14,1735328473);
  139.                                           _loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[12],20,2368359562);
  140.                                           _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],4,4294588738);
  141.                                           _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[8],11,2272392833);
  142.                                           _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],16,1839030562);
  143.                                           _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[14],23,4259657740);
  144.                                           _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],4,2763975236);
  145.                                           _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[4],11,1272893353);
  146.                                           _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],16,4139469664);
  147.                                           _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[10],23,3200236656);
  148.                                           _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],4,681279174);
  149.                                           _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[0],11,3936430074);
  150.                                           _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],16,3572445317);
  151.                                           _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[6],23,76029189);
  152.                                           _loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],4,3654602809);
  153.                                           _loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[12],11,3873151461);
  154.                                           _loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],16,530742520);
  155.                                           _loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[2],23,3299628645);
  156.                                           _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],6,4096336452);
  157.                                           _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[7],10,1126891415);
  158.                                           _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],15,2878612391);
  159.                                           _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[5],21,4237533241);
  160.                                           _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],6,1700485571);
  161.                                           _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[3],10,2399980690);
  162.                                           _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],15,4293915773);
  163.                                           _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[1],21,2240044497);
  164.                                           _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],6,1873313359);
  165.                                           _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[15],10,4264355552);
  166.                                           _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],15,2734768916);
  167.                                           _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[13],21,1309151649);
  168.                                           _loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],6,4149444226);
  169.                                           _loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[11],10,3174756917);
  170.                                           _loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],15,718787259);
  171.                                           _loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[9],21,3951481745);
  172.                                           this.state[0] += _loc6_;
  173.                                           this.state[1] += _loc5_;
  174.                                           this.state[2] += _loc4_;
  175.                                           this.state[3] += _loc3_;
  176.                                        };
  177.                                        Fmd5Class.prototype.MD5Init = function()
  178.                                        {
  179.                                           this.count0 = this.count1 = 0;
  180.                                           this.state[0] = 1732584193;
  181.                                           this.state[1] = 4023233417;
  182.                                           this.state[2] = 2562383102;
  183.                                           this.state[3] = 271733878;
  184.                                           i = 0;
  185.                                           while(i < this.digestBits.length)
  186.                                           {
  187.                                              this.digestBits[i] = 0;
  188.                                              i++;
  189.                                           }
  190.                                        };
  191.                                        Fmd5Class.prototype.MD5Update = function(b)
  192.                                        {
  193.                                           var _loc2_ = this.count0 >>> 3 & 63;
  194.                                           if(4294967288 <= this.count0)
  195.                                           {
  196.                                              this.count1 = this.count1 + 1;
  197.                                              this.count0 -= 4294967296;
  198.                                           }
  199.                                           this.count0 += 8;
  200.                                           this.buffer[_loc2_] = b & 255;
  201.                                           trace(_loc2_);
  202.                                           if(_loc2_ >= 63)
  203.                                           {
  204.                                              this.transformMD5(this.buffer,0);
  205.                                           }
  206.                                        };
  207.                                        Fmd5Class.prototype.MD5Final = function()
  208.                                        {
  209.                                           var _loc4_ = new Array(8);
  210.                                           var _loc2_ = undefined;
  211.                                           var _loc3_ = undefined;
  212.                                           _loc2_ = 0;
  213.                                           while(_loc2_ < 4)
  214.                                           {
  215.                                              _loc4_[_loc2_] = this.count0 >>> _loc2_ * 8 & 255;
  216.                                              _loc4_[_loc2_ + 4] = this.count1 >>> _loc2_ * 8 & 255;
  217.                                              _loc2_ = _loc2_ + 1;
  218.                                           }
  219.                                           var _loc6_ = this.count0 >>> 3 & 63;
  220.                                           var _loc5_ = _loc6_ >= 56 ? 120 - _loc6_ : 56 - _loc6_;
  221.                                           this.MD5Update(128);
  222.                                           _loc2_ = 1;
  223.                                           while(_loc2_ < _loc5_)
  224.                                           {
  225.                                              this.MD5Update(0);
  226.                                              _loc2_ = _loc2_ + 1;
  227.                                           }
  228.                                           _loc2_ = 0;
  229.                                           while(_loc2_ < 8)
  230.                                           {
  231.                                              this.MD5Update(_loc4_[_loc2_]);
  232.                                              _loc2_ = _loc2_ + 1;
  233.                                           }
  234.                                           _loc2_ = 0;
  235.                                           while(_loc2_ < 4)
  236.                                           {
  237.                                              _loc3_ = 0;
  238.                                              while(_loc3_ < 4)
  239.                                              {
  240.                                                 this.digestBits[_loc2_ * 4 + _loc3_] = this.state[_loc2_] >>> _loc3_ * 8 & 255;
  241.                                                 _loc3_ = _loc3_ + 1;
  242.                                              }
  243.                                              _loc2_ = _loc2_ + 1;
  244.                                           }
  245.                                        };
  246.                                        Fmd5Class.prototype.byteToStr = function(bt)
  247.                                        {
  248.                                           var _loc1_ = "0123456789abcdef";
  249.                                           var _loc2_ = _loc1_.charAt(bt >> 4) + _loc1_.charAt(bt & 15);
  250.                                           return _loc2_;
  251.                                        };
  252.                                        Fmd5Class.prototype.md5 = function(m)
  253.                                        {
  254.                                           var _loc4_ = "";
  255.                                           this.MD5Init();
  256.                                           var _loc2_ = 0;
  257.                                           while(_loc2_ < m.length)
  258.                                           {
  259.                                              this.MD5Update(m.charCodeAt(_loc2_));
  260.                                              _loc2_ = _loc2_ + 1;
  261.                                           }
  262.                                           this.MD5Final();
  263.                                           _loc2_ = 0;
  264.                                           while(_loc2_ < 16)
  265.                                           {
  266.                                              _loc4_ += this.byteToStr(this.digestBits[_loc2_]);
  267.                                              _loc2_ = _loc2_ + 1;
  268.                                           }
  269.                                           return _loc4_;
  270.                                        };
  271.                                        Fmd5Class.prototype.verifytext = function(d, m)
  272.                                        {
  273.                                           return this.md5(m) == d;
  274.                                        };
  275.                                        makeSig;
  276.                                        Fmd5Class.prototype.makeSig = function(input)
  277.                                        {
  278.                                           var _loc2_ = this.md5(input);
  279.                                           var _loc4_ = _loc2_.substr(0,16);
  280.                                           var _loc3_ = _loc2_.substr(16,16);
  281.                                           trace(_loc2_ + " >> " + _loc4_ + " >> " + _loc3_);
  282.                                           _loc2_ = this.md5(_loc2_);
  283.                                           trace(_loc2_ + " >> " + _loc4_ + " >> " + _loc3_);
  284.                                           return _loc3_ + _loc2_ + _loc4_;
  285.                                        };
  286.                                        Object.registerClass("Fmd5",Fmd5Class);
  287.                                        break;
  288.                                     }
  289.                                     if(eval("\x01") == 304)
  290.                                     {
  291.                                        set("\x01",eval("\x01") - 304);
  292.                                        break;
  293.                                     }
  294.                                  }
  295.                                  set("\x01",eval("\x01") - 162);
  296.                                  if(┬º┬ºpop())
  297.                                  {
  298.                                     set("\x01",eval("\x01") - 225);
  299.                                  }
  300.                               }
  301.                            }
  302.                            set("\x01",eval("\x01") - 162);
  303.                            continue;
  304.                            set("\x01",eval("\x01") + 407);
  305.                         }
  306.                         set("\x01",eval("\x01") + 665);
  307.                         ┬º┬ºpush(true);
  308.                         continue;
  309.                      }
  310.                      set("\x01",eval("\x01") - 270);
  311.                      continue;
  312.                      ┬º┬ºpush(!┬º┬ºpop());
  313.                   }
  314.                   set("\x01",eval("\x01") - 418);
  315.                }
  316.                set("\x01",eval("\x01") - 33);
  317.                if(┬º┬ºpop())
  318.                {
  319.                   set("\x01",eval("\x01") + 31);
  320.                }
  321.                continue;
  322.             }
  323.             set("\x01",eval("\x01") - 312);
  324.             var ┬º┬ºpop() = ┬º┬ºpop();
  325.             continue;
  326.          }
  327.          set("\x01",eval("\x01") + 397);
  328.          continue;
  329.          continue;
  330.       }
  331.       set("\x01",eval("\x01") - 435);
  332.       if(┬º┬ºpop())
  333.       {
  334.          set("\x01",eval("\x01") + 67);
  335.       }
  336.       continue;
  337.    }
  338.    set("\x01",eval("\x01") + 720);
  339.    ┬º┬ºpush(true);
  340. }
  341.